<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
	<head>
		<meta charset="utf-8">
		<title>Product management : see detail</title>
	</head> 
	<body>
		<header>
		<h1>Product</h1>
			<nav>
   				<%@include file="Nav.jsp" %>
			</nav>
		</header>
		<h2>Current Product: ${product.id}</h2>
   			<div>
   				<div><b>Id:</b><c:out value="${product.id}"/> 
   					<a href="product/detail?id=<c:out value="${product.id}"/>">Detail</a> | 
   					<a href="product/update?id=<c:out value="${product.id}"/>">Update</a> | 
   					<a href="product/delete?id=<c:out value="${product.id}"/>">Delete</a>
   				</div>
   				<p><b>Name</b> <c:out value="${product.name}"/></p>
   				 <ul>
   				 	<li><b>Description</b> <c:out value="${product.description}"/></li>
   				 	<li><b>Price</b> <c:out value="${product.price}"/></li>
   				 	<li><b>Id Product Type</b> <c:out value="${product.idproducttype}"/></li>
   				 </ul>
   			<div>

	</body>
</html>